import 'package:flutter_axrjc/datasource/db/bean/MyLightBean.dart';
import 'package:isar/isar.dart';
import 'package:path_provider/path_provider.dart';

late Isar isar;

Future initIsar() async {
  final dir = await getApplicationDocumentsDirectory();
  isar = await Isar.open([MyLightBeanSchema], directory: dir.path);
}
